package com.quanyan.assets.mapper;

import com.quanyan.assets.entity.TbUserAssetsGrantHistory;
import com.quanyan.assets.entity.TbUserAssetsGrantHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbUserAssetsGrantHistoryMapper {
    int countByExample(TbUserAssetsGrantHistoryExample example);

    int deleteByExample(TbUserAssetsGrantHistoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbUserAssetsGrantHistory record);

    int insertSelective(TbUserAssetsGrantHistory record);

    List<TbUserAssetsGrantHistory> selectByExample(TbUserAssetsGrantHistoryExample example);

    TbUserAssetsGrantHistory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbUserAssetsGrantHistory record, @Param("example") TbUserAssetsGrantHistoryExample example);

    int updateByExample(@Param("record") TbUserAssetsGrantHistory record, @Param("example") TbUserAssetsGrantHistoryExample example);

    int updateByPrimaryKeySelective(TbUserAssetsGrantHistory record);

    int updateByPrimaryKey(TbUserAssetsGrantHistory record);
}